package com.mjk.manager.monitor.model;

import com.mjk.common.base.model.BaseEntity;
import com.mjk.common.core.jdbc.annotation.ArcSharding;
import com.mjk.common.core.jdbc.annotation.Filed;
import com.mjk.common.core.jdbc.annotation.Id;
import lombok.Data;

/**
 * 环境表 管理后端服务统一为一个环境
 *       管理前端请求IP 分配到那个环境
 */
@Data
@ArcSharding(dataSource = "his",table = "evn")
public class EvnModel extends BaseEntity {
    @Id
    @Filed(comment = "环境ID")
    private Integer evnId;

    @Filed(comment = "环境名称",lenght = 50)
    private String evnName;

    @Filed(comment = "环境描述",lenght = 100)
    private String evnDescribe;

    @Filed(comment = "是否可用",lenght = 2)
    private String enable;

    @Filed(comment = "客户端ip 多个用，分隔",lenght = 1000)
    private String clientIp;

    @Filed(comment = "服务端ip:port 多个用，分隔",lenght = 1000)
    private String serverIp;

    @Filed(comment = "软负载路径",lenght = 100)
    private String softLoadPath;
}
